import { BaseEntity, Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity('data')
export class DataEntity extends BaseEntity {
    @PrimaryGeneratedColumn()
    id: number;

    @Column({
        type: 'varchar',
        length: 300

    })
    name: string;

    @Column({
        type: 'varchar',
        length: 300

    })
    des: string;
}
